package com.rulin.asp.business.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 问题列表参数实体
 * @author yangsy
 *
 */
public class QuestionParam {

	private String userAccount;//当前用户账号
	
	private String question;//问题内容
	
	private String quesType;//题目状态：1，未认领；2，认领中；3，已认领，4，已解答
	
	private String teacheName;//认领老师
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date askStartTime;//提问时间起
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date askEndTime;//提问时间止
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date answerStartTime;//答疑结束时间起
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date answerEndTime;//答疑结束时间止
	
	private Page page;//分页参数
	
	private String questionSource;//问题来源：1，qq群；2，微信小程序；3，银成邮件；4，图书纠错
	
	private Integer pageNum;//图书页码
	
	private String userType;//用户等级：1，私教班学员；2，VIP学员；3，网络学员；4，图书读者
	
	private String major;//所属专业（考试类别）

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getQuesType() {
		return quesType;
	}

	public void setQuesType(String quesType) {
		this.quesType = quesType;
	}

	public String getTeacheName() {
		return teacheName;
	}

	public void setTeacheName(String teacheName) {
		this.teacheName = teacheName;
	}

	public Date getAskStartTime() {
		return askStartTime;
	}

	public void setAskStartTime(Date askStartTime) {
		this.askStartTime = askStartTime;
	}

	public Date getAskEndTime() {
		return askEndTime;
	}

	public void setAskEndTime(Date askEndTime) {
		this.askEndTime = askEndTime;
	}

	public Date getAnswerStartTime() {
		return answerStartTime;
	}

	public void setAnswerStartTime(Date answerStartTime) {
		this.answerStartTime = answerStartTime;
	}

	public Date getAnswerEndTime() {
		return answerEndTime;
	}

	public void setAnswerEndTime(Date answerEndTime) {
		this.answerEndTime = answerEndTime;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	public String getQuestionSource() {
		return questionSource;
	}

	public void setQuestionSource(String questionSource) {
		this.questionSource = questionSource;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}
	
}
